package com.yby.mall.product.dao;

import com.yby.mall.product.entity.CategoryBrandRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 品牌分类关联
 * 
 * @author yangbingying
 * @email 2771355658@qq.com
 * @date 2021-07-09 20:49:20
 */
@Mapper
public interface CategoryBrandRelationDao extends BaseMapper<CategoryBrandRelationEntity> {

    int updateByBrandName(@Param("brandId") Long brandId, @Param("brandName") String brandName);

    int updateByCatelogName(@Param("catId") Long catId, @Param("catelogName") String catelogName);
}
